package org.cl.tdd;

public class StringUtil {
    static int compareString(ParkingPlace o1, ParkingPlace o2) {
        if (o1.getPlaceNo().compareTo(o2.getPlaceNo()) > 0) {
            return 1;
        } else if (o1.getPlaceNo().compareTo(o2.getPlaceNo()) == 0) {
            return 0;
        } else {
            return -1;
        }
    }
}
